var Sex;
(function (Sex) {
    Sex[Sex["Man"] = 0] = "Man";
    Sex[Sex["Woman"] = 1] = "Woman";
    Sex[Sex["UnKnow"] = 2] = "UnKnow";
})(Sex || (Sex = {}));
function MycreatedPerson(person) {
    console.log("\u6211\u53EB" + person.name + ",\u6027\u522B\uFF1A" + person.sex + "\u4ECA\u5E74" + person.age + "\u5C81");
}
MycreatedPerson({ name: '张三', sex: Sex.Man, age: 17 });
function MycreatedPerson2(person) {
    console.log("\u6211\u53EB" + person.name + ",\u4ECA\u5E74" + person.age + "\u5C81");
    return person;
}
var a = MycreatedPerson2({ name: '李四', age: 17 });
console.log(a);
